import 'osc_author.dart';

class OscTweetLike {
	OscAuthor author;
	String pubDate;

	OscTweetLike({this.author, this.pubDate});

	OscTweetLike.fromJson(Map<String, dynamic> json) {
		author = json['author'] != null ? new OscAuthor.fromJson(json['author']) : null;
		pubDate = json['pubDate'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		if (this.author != null) {
      data['author'] = this.author.toJson();
    }
		data['pubDate'] = this.pubDate;
		return data;
	}
}
